package com.fan.testdemo.service;

import com.example.testspringbootstater.service.IdGen;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @Author: fan
 * @CreateTime 2024/7/24 13:57
 * @Description
 * @Version 1.0
 */
@Service
public class TestService {

    @Resource
    private IdGen idGen;

    public String test(){

        return idGen.getId();
    }

}
